---
---

$baseurl: "{{ site.baseurl }}";

@import "variable";
@import "bootstrap";
@import "mixins";
@import "base";
@import "prism";

body {
    background: #fffaf4;
}

// Navigation
.navigation {
    background: #fff;
}

.hidden {
    display: none;
}

#banner-message {
    position: sticky;
    z-index: 400;
    left: 0;
    top: 0;
    right: 0;
    text-align: center;
    padding: 1em;
}

.navbar {
    background: #fff;
    margin-top: 10px;
    a.navbar-brand {
        padding-left: 0;
        padding-right: 0;
        font-weight: 800;
        font-size: 17px;
        color: #4b352a;
        letter-spacing: 2.7px;
        text-transform: uppercase;
        -moz-transition: none;
        -webkit-transition: none;
        -o-transition: color 0 ease-in-out;
        transition: none;
        &:hover {
            -moz-transition: none;
            -webkit-transition: none;
            -o-transition: color 0 ease-in-out;
            transition: none;
        }
    }

    .navbar-nav {
        padding: 15px 0;
        > li {
            margin-right: 40px;
            > a {
                opacity: 0.69;
                font-weight: 800;
                color: #4b352a;
                background: none;
                padding: 0;
            }
            > a:hover {
                opacity: 1;
            }
        }
        .github-nav {
            img {
                width: 23.14px;
            }
        }
    }
}

// Homepage
.top {
    width: 100%;
    background-image: linear-gradient(-180deg, #ffffff 0%, #fff9f4 100%);
}
.grow {
    transition: all 0.2s ease-in-out;
    &:hover {
        transform: scale(1.1);
    }
}
.home-header {
    padding: 50px 0px;
    text-align: center;
    .btn-top {
        margin-top: 35px;
    }
    .btn-primary {
        background: $primary;
        color: #ffffff;
        letter-spacing: 1.08px;
        text-transform: uppercase;
        padding: 15px 18px;
        margin-right: 20px;
        &:hover {
            background: darken($primary, 5%);
        }
        &:focus {
            background: darken($primary, 15%);
        }
    }

    .btn-default {
        background: none;
        opacity: 0.7;
        font-weight: 800;
        font-size: 14px;
        color: #4b352a;

        img {
            width: 15.43px;
            margin-top: -2px;
            margin-right: 5px;
        }
        &:hover {
            opacity: 1;
        }
        &:focus {
            background: none;
            box-shadow: none;
        }
    }

    img.logo {
        width: 127px;
        margin: 0 auto;
    }

}

// Backed Badge
.backed {
    text-align: center;
    .wrap {
        position: relative;
        margin-top: 50px;
    }
    p.centre-line {
        text-align: center;
        border-bottom: 1px solid #dcccbe;
        line-height: 0.1em;
        width: 40%;
        display: inline-block;
        span {
            background: #fff9f4;
            font-size: 14px;
            padding: 5px 20px;
            color: #4b352a;
        }
    }

    .people {
        display: block;
        margin: 25px 0;
        img {
            margin: 3px 4px;
            max-width: 120px;
            max-height: 40px;
            display: inline-block;
        }
        span {
            position: relative;
            top: 10px;
            margin-left: 10px;
            font-size: 13px;
            color: #656565;
            a {
                color: #000;
                &:hover {
                    color: #469a4c;
                }
            }
        }
    }

    .backer {
        span {
            font-size: 13px;
            color: #281d18;
            margin-right: 25px;
        }
    }
}

// Content
.content {
    padding: 60px 0px;

    & h5 {
        font-weight: 600; // make h5 visible: otherwise no difference is shown
    }
}

// Pages
.head-page,
h1.post-title {
    text-align: center;
    margin-bottom: 40px;
}

.in-content {
    &.releases {
        ul {
            list-style-type: none;
            padding: 0;
            li {
                background: #fff;
                padding: 20px 30px 25px 30px;
                border-radius: 5px;
                margin-bottom: 20px;
            }
            p {
                font-size: 20px;
            }
            .ver {
                top: 5px;
                position: relative;
            }
            .btn-primary {
                background: #469a4c;
                color: #ffffff;
                letter-spacing: 1.08px;
                text-transform: uppercase;
                padding: 10px 20px;
                &:hover {
                    background: darken(#469a4c, 5%);
                }
                &:focus {
                    background: darken(#469a4c, 15%);
                }
            }
            .btn-default {
                border: 1px solid #eadcd5;
                font-size: 14px;
                color: #281d18;
                padding: 10px 20px;
                background: none;
                font-weight: 800;
                &:hover {
                    color: #469a4c;
                    border: 1px solid #469a4c;
                }
            }
        }
    }
}

// CARBON ADS
#carbonads {
    display: flex;
    float: right;
    margin: 0 0 20px 20px;
    max-width: 130px;
    border-radius: 4px;
    background-color: hsl(0, 0%, 98%);
    box-shadow: 0 0 1px hsla(0, 0%, 0%, 0.15);
    font-size: 11px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial,
        sans-serif;
}

#carbonads a {
    color: #111;
    text-decoration: none;
}

#carbonads a:hover {
    color: #111;
}

.carbon-img {
    display: block;
    margin-bottom: 8px;
    max-width: 130px;
    line-height: 1;
}

.carbon-img img {
    display: block;
    margin: 0 auto;
    max-width: 130px;
    width: 130px;
    height: auto;
}

.carbon-text {
    display: block;
    padding: 0 10px 8px;
    text-align: left;
    line-height: 1.35;
}

.carbon-poweredby {
    display: block;
    padding: 10px;
    background: repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 5px,
            hsla(0, 0%, 0%, 0.025) 5px,
            hsla(0, 0%, 0%, 0.025) 10px
        )
        hsla(203, 11%, 95%, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 8px;
    line-height: 0;
}

@media only screen and (min-width: 320px) and (max-width: 759px) {
    #carbonads {
        position: relative;
        float: none;
        margin: 20px auto;
        max-width: 330px;
    }

    .carbon-wrap {
        display: flex;
        flex-direction: row;
    }

    .carbon-img {
        margin: 0;
    }

    .carbon-text {
        padding: 10px 10px 0 10px;
        font-size: 12px;
    }

    .carbon-poweredby {
        position: absolute;
        right: 0;
        bottom: 0;
        border-radius: 0;
        border-top-left-radius: 3px;
        text-align: center;
    }
}
